import instance from "../request"

export const machinery = {
    //获取全部设备信息
    getAllMachineInfos: (data) => {
        return instance({
            url: '/equipment/getAllMachineInfos',
            method: "post",
            data
        })
    },

    //根据serialNumber获取指定设备信息
    getMachineInfosBySerialNumber: (data) => {
        return instance({
            url: '/equipment/getMachineInfosBySerialNumber',
            method: "post",
            data
        })
    },

}